import { base, axiosInstance } from '@/api/config';

//审核管理
const amList = params => {
  return axiosInstance.get(`${base}/audit/list`, {params: params});
}; //报名列表
const amQuery = params => {
  return axiosInstance.get(`${base}/audit/studentInfo`, {params: params});
}; //公共区域查询
const amCheck = params => {
  return axiosInstance.put(`${base}/audit/check`, params);
};//审核
const admit = params =>{
  return axiosInstance.put(`${base}/audit/admit/${params}`);
};
const isAdmit = params =>{
  return axiosInstance.get(`${base}/audit/isAdmit`, params)
}

/*审核管理*/
let auditManagement = {

  //资质审核
  qualireview: {
    list: amList,
    query: amQuery,
    check: amCheck,
    admit:admit,
    isAdmit:isAdmit
  },
};
export { auditManagement }
